<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<link href="style/style.css" rel="stylesheet" type="text/css">
<link href="style/global.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="<%=basePath%>/js/global.js"></script>
<jsp:include page="/jqueryInclude.jsp" />
<!--如用到jquery必须引入 -->

<div class="rightCon" align="center">
	<div class="rightTitle" align="left">
		<h3>
			<s:property value="nav" escape="false"/>
		</h3>
	</div>
	<table class="listTable">
		<tr class="listTitle">
			<td width="5%">
				序号
			</td>
			<td width="15%">
				面板名称
			</td>
			<td width="10%">
				面板代码
			</td>
			<td width="30%">
				面板地址
			</td>
			<td width="30%">
				面板描述
			</td>
			<td width="10%">
				操作
			</td>
		</tr>
		<s:iterator id="sysportal" value="%{list}" status="stuts">
			<tr class="listTr">
				<td>
					<s:property value="#stuts.count" />
				</td>
				<td>
					<s:property value="#sysportal.title" />
				</td>
				<td>
					<s:property value="#sysportal.portalid" />
				</td>
				<td>
					<s:property value="#sysportal.url" />
				</td>
				<td>
					<s:property value="#sysportal.note" />
				</td>
				<td class="add">
					
					<a
						href="updateSysPortal.do?action=before&sysportal.id=<s:property value="#sysportal.id" />"><img src="images/system/edit.gif" alt="修改"/></a>
					
					<a
						href="javascript:if(confirm('您真的要删除吗?点击确认进行删除！否则请点取消'))window.location='delSysPortal.do?sysportal.id=<s:property value="#sysportal.id" />'"><img src="images/system/delete.gif" alt="删除"/></a>
				</td>
			</tr>
		</s:iterator>
	</table>
	<table width="92%" border="0" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<td width="52%" height="38">
				<a href="addSysPortal.do?action=before" class="search button01">添加</a>
				<a
					onclick="jBox.open('div-jBoxID','div','search1','按条件查询','width=700,height=160,center=true,minimizable=true,resize=false,draggable=true,model=false');"
					href="javascript://" class="search button01">查询</a>
			</td>
			<td width="48%" align="right">
				<span style="text-align: center">${pageStr}</span>
			</td>
		</tr>
	</table>
</div>
<div id="search1" style="display: none;">
	<form method="post" action="listSysPortal.do">
		<table width="97%" border="0" align="center" cellpadding="5"
			class="searchtb" cellspacing="0">
			<tr>
				<td valign="top">
					<table width="98%" border="0" align="center" cellpadding="1"
						cellspacing="1" bgcolor="#ffffff">
						<tr>
							<td width="25%" align="right" height="30">
								面板名称：
							</td>
							<td width="20%" align="left">
								<input type="text" name="sysportal.title" title="面板名称">
							</td>
							<td width="15%" align="right">
								面板代码：
							</td>
							<td width="50%" align="left">
								<input type="text" name="sysportal.portalid" title="面板代码">
							</td>
						</tr>
						<tr>
							<td width="30%" align="center" colspan="4" class="maintb1">
								<center>
									<input id="button2" type="submit" value="搜索" />
									&nbsp;&nbsp;&nbsp;&nbsp;
									<input id="button2" type="reset" value="重置" />
								</center>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</form>
</div>